/*
 * @Author: liuqiang 
 * @Date: 2021-02-08 15:22:14 
 * @Last Modified by: liuqiang
 * @Last Modified time: 2021-02-20 15:53:59
 */
const Router = require("koa-router");
const { login, create, find, update, isLogin } = require("../controllers/user");

const router = new Router({
  prefix: "/user",
});

router.post("/login", login);
router.post("/create", create);
router.get("/find", find);
router.post("/update", update);
router.get("/isLogin", isLogin);

module.exports = router;
